import os
from building import *

cwd = GetCurrentDir()

src = Glob('*.c')

if not GetDepend('GP_USING_EKF'):
    SrcRemove(src, 'ahrs.c')
    SrcRemove(src, 'ahrs_gcs.c')

# The set of source files associated with this SConscript file.
path = [cwd + '/..', cwd + '/../libraries']

group = DefineGroup('copter', src, depend = ['MB_VEHICLE_COPTER'], CPPPATH = path)

Return('group')

